export default {
    formatTime(times){
        if(times){
            const timer = new Date(Number(times));
            const Y = timer.getFullYear();
            var M = timer.getMonth()+1;
            var D = timer.getDate();
            return `${Y}-${M}-${D}`
            return Y
        }else{
            return ''
        }
    }
}